package com.dlsy.ygj.dao.vindicateData.impl;

import java.util.List;

import net.taobaoge.common.framework.dao.impl.BaseDAOImpl;

import com.dlsy.ygj.dao.vindicateData.IPeriodOfTimeSpecialInfoDAO;
import com.dlsy.ygj.entity.PeriodOfTimeSpecial;

public class PeriodOfTimeSpecialInfoDAO extends
		BaseDAOImpl<PeriodOfTimeSpecial> implements IPeriodOfTimeSpecialInfoDAO {

	public List<PeriodOfTimeSpecial> findPeriodOfTimeSpecialByTime(int storefrontId,
			String BeginTime, String EndTime) {
		return findByHql("from PeriodOfTimeSpecial pe where pe.storefrontId="+storefrontId+" and pe.beginTime  between '"+BeginTime+"' and '"+EndTime+"'");
	}

}